package org.wm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.wm.domain.SysNotice;

/**
 * 通知公告表 数据层
 * (已按照 Mybatis-Plus 混合模式进行改造)
 */
@Mapper
public interface SysNoticeMapper extends BaseMapper<SysNotice> {

    /**
     * 查询公告列表
     */
    IPage<SysNotice> selectNoticeList(Page<SysNotice> page, @Param("notice") SysNotice notice);

}